<%@page import="beans.Student"%>
<%@page import="java.util.ArrayList"%>
<%@page import="beans.StudentDao"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Student</title>
</head>
<body>
	<%
		String no = request.getParameter("stuno");
		String name = request.getParameter("stuname");
		if (no != null && name != null) {
			out.println(name);
			StudentDao studentDao = new StudentDao();
			ArrayList students = studentDao.QueryAllStudents();
			for (int i = 0; i < students.size(); i++) {
				Student student = (Student)students.get(i);
				
			}
		} 
	%> 
</body>
</html>